<template>
  <div>
    <yjmf-table-pro-page v-bind="tableConf" />
  </div>
</template>
<script>
import { getConf } from './table'
const reqFetchList = (params) => {
  console.log(params)
  return new Promise((resolve, reject) => {
    const list = []
    for (let i = 0; i < 8; i++) {
      list.push({
        id: i + 1,
        projectName: `项目名称${i}`
      })
    }
    resolve({
      code: '200',
      data: {
        list,
        total: 8
      },
      msg: ''
    })
  })
}
export default {
  data () {
    const tableConf = getConf.call(this, reqFetchList)
    return {
      tableConf
    }
  }
}
</script>
<style lang="scss" scope>
.danger {
  color:red;
  cursor: pointer;
}
</style>
